package com.num2.dao.lkw;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.num2.model.lkw.InformationModel;

public interface IInformationDao {
	//通过username获取user_id
	@Select("select user_id from user_info where user_name = #{user_name}")
	public int selectName(String user_name);
	//通过user_id查到用户个人信息
	@Select("select * from user_info where user_id=#{user_id}")
	List<InformationModel> select(int user_id);
}
